package com.tg.sieve_data.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tg.sieve_data.entity.sys.SysUserEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 系统用户
 *
 */
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity> {
	/**
	 * 根据用户名，查询系统用户
	 */
	SysUserEntity queryByUserName(String username);

	SysUserEntity queryByToken(String token);
}
